package cn.xiaoliu.hrm.constant;

public enum GlobalStatusCode {
    GLOBAL_EXCEPTION_ERROR (1126,"正常异常"),MATH_ERROR (645,"算数异常");
    private Integer code;
    private String msg;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    GlobalStatusCode(Integer code, String msg){
        this.code=code;
        this.msg=msg;
    }
}
